﻿@{
    Layout = "~/Views/Shared/LZZC_Layout.cshtml";
    ViewBag.Title = "Lzzc_DocmentIndex";
    string leftDivDisplay = "";//左边树界面是否显示
    string contentWidth = "768px";

    if (ViewData["docClsHtml"] != null && ViewData["docClsHtml"].ToString() != "")
    {
        leftDivDisplay = "block";
    }
    else
    {
        leftDivDisplay = "none";
        contentWidth = "1000px";
    }
    string docClsCd = ViewData["docClsCd"] == null ? "" : ViewData["docClsCd"].ToString();
    string clsCd = ViewData["clsCd"] == null ? "" : ViewData["clsCd"].ToString();
    string prop = ViewData["prop"] == null ? "" : ViewData["prop"].ToString();
    string docClsName = ViewData["docClsName"] == null ? "" : ViewData["docClsName"].ToString();
}

<div class="container">
    
    <div class="content">
    	
      <div class="list_left" style="display:@leftDivDisplay">
    	<div class="list_left_t">@docClsName</div>
            <div class="list_left_c2">
              <div class="padding-menu">
                       @if (leftDivDisplay == "block")
                       {
                          @Html.Raw(ViewData["docClsHtml"].ToString())
                       }     
                    <div class="clear"></div>
                </div>
            </div>
        </div>
 
        <div class="list_content" style="width:@contentWidth">
            @if (prop == "")
            {
                <iframe src="/Column/LzzcList?clsCd=@clsCd" id="contentFrm" name="contentFrm" style="width:100%;height:100%" frameborder="0" scrolling="no"></iframe>
            }
            else if (prop == "A")
            { 
               <iframe src="/Column/LzzcList_QFJY?clsCd=@clsCd" id="contentFrm" name="contentFrm" style="width:100%;height:100%" frameborder="0" scrolling="no"></iframe> 
            }
            else if (prop == "R") 
            { 
                <iframe src="/Column/LzzcList_ImageOrVideo?clsCd=@clsCd" id="contentFrm" name="contentFrm" style="width:100%;height:100%" frameborder="0" scrolling="no"></iframe> 
            }
        </div>
    
     </div>

</div>
